home *** CD-ROM | disk | FTP | other *** search
- raw 311:* {
- if (%rawcode.311 == off) { unset %rawcode.311 | return }
- if ($tokmatch(%whois,$2,44)) {
- if ($form(whois,top)) whecho $readini %formats whois top
- else whecho $lfix(16,_______________) $+ $hc(_______________) $+ $sc(_______________)
- if ($form(whois,address)) whecho $readini %formats whois address
- else whecho $pc(|) $b($sc($2)) ( $+ $3 $+ $hc(@) $+ $+ $4 $+ )
- if ($form(whois,name)) whecho $readini %formats whois name
- else whecho $sc(|) $hc(name) $sc(:) $6-
- halt
- }
- elseif ($tokmatch(%cwhois,$2,44)) {
- if ($form(cwhois,top)) msg $active $readini %formats cwhois top
- else msg $active $lfix(46,_____________________________________________)
- if ($form(cwhois,address)) msg $active $readini %formats cwhois address
- else msg $active $vl $b($2) ( $+ $3 $+ @ $+ $4 $+ )
- if ($form(cwhois,name)) msg $active $readini %formats cwhois name
- else msg $active $vl name : $6-
- halt
- }
- }
- raw 314:* {
- if (%rawcode.314 == off) { unset %rawcode.314 | return }
- if ($findtok(%whowas,$2,1,44)) {
- if ($form(whowas,top)) iiecho $readini %formats whowas top
- else iiecho $lfix(16,_______________) $+ $hc(_______________) $+ $sc(_______________)
- if ($form(whowas,address)) iiecho $readini %formats whowas address
- else iiecho $vl $b($sc($2)) ( $+ $3 $+ $+ $hc(@) $+ $+ $4 $+ )
- if ($form(whowas,name)) iiecho $readini %formats whowas name
- else iiecho $sc(|) $hc(name) $sc(:) $6-
- halt
- }
- elseif ($findtok(%cwhowas,$2,1,44)) {
- if ($form(cwhowas,top)) msg $active $readini %formats cwhowas top
- else msg $active $lfix(46,_____________________________________________)
- if ($form(cwhowas,address)) msg $active $readini %formats cwhowas address
- else msg $active $vl $b($2) ( $+ $3 $+ @ $+ $4 $+ )
- if ($form(cwhowas,name)) msg $active $readini %formats cwhowas name
- else msg $active $vl name : $6-
- halt
- }
- }
- raw 315:* {
- if (%rawcode.315 == off) { unset %rawcode.315 | return }
- if (%cstats == on) {
- set %cthops %hop1 $+ . $+ %hop4
- echo $2
- echo $2 . $+ $str(-,51) $+ .
- echo $2 $vl $center(49,Channel Stats for [ $2 ] ) $vl
- echo $2 $vl $+ $str(-,51) $+ $vl
- echo $2 $vl $lfix(5,ops[) $+ $center(3,$hc($opnick($2,0))) $+ ] voice[ $+ $center(3,$hc($vnick($2,0))) $+ ] none[ $+ $center(3,$hc($rnick($2,0))) $+ ] total[ $+ $center(3,$hc($nick($2,0))) $+ ] $lfix(9,$vl)
- echo $2 $vl $lfix(5,away[) $+ $center(3,$hc(%naway)) $+ ] ircop[ $+ $center(3,$hc(%niops)) $+ ] hops[ $+ $center(3,$hc($int(%cthops))) $+ ] from $center(13,$sc($left($server,13))) $vl
- echo $2 ' $+ $str(-,51) $+ '
- echo $2
- unset %cstats %hop* %cthops %niops %naway %ncls %cladd %cnum %chops
- halt
- }
- elseif (%lircops == on) {
- unset %lircops
- if (%cn) aline @IrcOps ' $+ $str(-,45) $+ '
- else {
- if ($form(errors,no-opers)) iecho $readini %formats errors no-opers
- else iecho No ircops were found on $hc($2) $+ . ( $+ $sc($nick($2,0)) users)
- }
- unset %cn
- halt
- }
- elseif (%spoofchk) {
- if (%spoofchk.nick) unset %spoofchk
- else {
- iecho Could not check %spoofchk.nick for a spoofed address (no such nickname)
- unset %spoofchk*
- }
- halt
- }
- elseif (%spoofchk.nick) halt
- elseif ($findtok(%joinedchans,$2,1,44)) {
- set %joinedchans $remtok(%joinedchans,$2,1,44)
- if ((%botgetops == on) && ($me ison $2)) get.bot.ops $2
- if ((%colnick == on) && ($me ison $2)) colnick $2
- halt
- }
- elseif (%whochan == on) {
- if ($form(who)) iiecho $readini %formats who end
- else iiecho 'end of $hc($2) /WHO LIST. $str(29,-)
- unset %whochan
- halt
- }
- }
-